

<tr>
		<td class="pl15">
			<?php echo CHtml::checkBox('id[]','',array('class'=>'chk ','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zda_id))?>
			<?php echo CHtml::encode($data->zda_username)?>
		</td>
		<td width="18%"><?php echo CHtml::encode($data->zda_name)?></td>
		<td width="20%">
			<?php  if(!empty($data->zca_ids)){ foreach($data->zca_ids as $val){?>
				 <?php echo CHtml::label(Category::model()->loadTopList($val),'',array('class'=>'mr10'))?> 
			<?php }}else{?>
				全部分类
			<?php } ?>
		</td>
		<td width="15%"><?php echo AdmRole::model()->getRoleListData($data->zag_id)?></td>
		<td width="15%">
			<?php if($data->zda_status==1){?>
				<span>使用中</span>
			<?php }elseif($data->zda_status==2){ ?>
				<span class="c_red">已禁止</span>
			<?php }?>
		</td> 
		<td class="operate" width="17%">
				<?php if(!(($data->zda_id==1)&&(Yii::app()->user->getId()!=1))) echo CHtml::link(Yii::t('glo','Update'),array('update','id'=>$data->zda_id),array('class'=>'c_06c'))?>
				<?php if(($data->zda_id!=1)&&(Yii::app()->user->getId()!=$data->zda_id)) echo CHtml::link(Yii::t('cmp','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("/manage/adminer/delete/id/'.$data->zda_id.'","你确定要删除这条消息吗？")'))?>  
		</td>
</tr>